package de.vermaasen.schwanenkicker.entity;

import org.joda.time.DateTime;

public class User {
	
	private String forename;
	private String lastname;
	private DateTime created;
	private DateTime updated;
	private boolean deleted;
	
	public User(final String pForename, final String pLastname){
		forename = pForename;
		lastname = pLastname;
		created = new DateTime();
		updated = new DateTime();
		deleted = false;
	}
	
	public String getForename() {
		return forename;
	}
	public void setForename(final String forename) {
		this.forename = forename;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(final String lastname) {
		this.lastname = lastname;
	}

	public DateTime getCreated() {
		return created;
	}

	public void setCreated(final DateTime pCreated) {
		created = pCreated;
	}

	public DateTime getUpdated() {
		return updated;
	}

	public void setUpdated(final DateTime pUpdated) {
		updated = pUpdated;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(final boolean pDeleted) {
		deleted = pDeleted;
	}

}
